package cn.kgc.tangcco.forword;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author 李昊哲
 * @Description
 * @create 2020/10/19 上午8:59
 */
@WebServlet(urlPatterns = "/forwordinner01")
public class ForwordInner01 extends HttpServlet {

    private static final long serialVersionUID = -166181145266048908L;

    @Override
    protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        System.out.println("forwordinner01");
        // 请求转发
        request.getRequestDispatcher("/forword.jsp").forward(request,response);
    }
}
